package com.sthz.facepay.model;

import javax.persistence.Transient;
import java.util.Date;

public class Advertisement {
    private Integer id;

    private Integer aid;

    private String title;

    private String picture;

    private Integer today_exposure;

    private Integer total_exposure;

    private Double total_money;

    private Double surplus_money;

    private Double monovalent;

    private Date data_time;

    private String link;

    private String content;

    @Transient
    private Agent agent;

    public Agent getAgent() {
        return agent;
    }

    public void setAgent(Agent agent) {
        this.agent = agent;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public Integer getToday_exposure() {
        return today_exposure;
    }

    public void setToday_exposure(Integer today_exposure) {
        this.today_exposure = today_exposure;
    }

    public Integer getTotal_exposure() {
        return total_exposure;
    }

    public void setTotal_exposure(Integer total_exposure) {
        this.total_exposure = total_exposure;
    }

    public Double getTotal_money() {
        return total_money;
    }

    public void setTotal_money(Double total_money) {
        this.total_money = total_money;
    }

    public Double getSurplus_money() {
        return surplus_money;
    }

    public void setSurplus_money(Double surplus_money) {
        this.surplus_money = surplus_money;
    }

    public Double getMonovalent() {
        return monovalent;
    }

    public void setMonovalent(Double monovalent) {
        this.monovalent = monovalent;
    }

    public Date getData_time() {
        return data_time;
    }

    public void setData_time(Date data_time) {
        this.data_time = data_time;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link == null ? null : link.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}